<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
          name="viewport">
    <meta name="format-detection" content="telephone=no"/>
    <title>{$config.title}</title>
    <meta name="keywords" content="{$config.keywords}" />
    <meta name="description" content="{$config.description}" />
    <link rel="stylesheet" type="text/css" href="/index_static/css/swiper-bundle.min.css">
    <link rel="stylesheet" type="text/css" href="/index_static/css/index.css">
    <link rel="stylesheet" type="text/css" href="/index_static/css/index-tel.css">
    <link rel="stylesheet" type="text/css" href="/index_static/font/iconfont.css">
    <script type="text/javascript" src="/index_static/js/jquery-1.10.1.min.js"></script>
    <script type="text/javascript" src="/index_static/js/swiper-bundle.min.js"></script>
    <script type="text/javascript" src="/index_static/js/public.js"></script>
    <link rel="shortcut icon" href="/index_static/fav.ico">
</head>
<body>
{include file="head" /}


<div class="banner">
    <img class="banner-i banner-list-img" src="{$banner.image}" alt="">
</div>


<div class="nav-position _web-pd15">
    <div class="center-box" style="display: flex">
        <div style="margin-right: 5px;">
            <img src="/index_static/img/nav.png" alt="">
        </div>
        <a href="/">首页</a>
        <div style="margin-right: 5px;">
            > 产品中心
        </div>
    </div>
</div>


<div class="pro_details_box">
    <div class="center-box">
        <div class="pro_dtop flex-row flex-web">
            <div class="product_dr_tleft flex-row">
                <div class="swiper-thumbs-box rel">
                    <div class="swiper mySwiper" id="swiper-thumbs">
                        <div class="swiper-wrapper">
                            {foreach $product_img as $item}
                            <div class="swiper-slide">
                                <img class="main-img" src="{$item}"/>
                            </div>
                            {/foreach}
                        </div>
                    </div>
                    <div class="swiper-button-next swiper-main-next"></div>
                    <div class="swiper-button-prev swiper-main-prev"></div>
                </div>
                <div class="swiper-main-box">
                    <div class="swiper mySwiper2" id="swiper-main">
                        <div class="swiper-wrapper">
                            {foreach $product_img as $item}
                            <div class="swiper-slide">
                                <img class="main-img" src="{$item}"/>
                            </div>
                            {/foreach}
                        </div>
                    </div>
                </div>


                <script>
                    var swiperThumbs = new Swiper("#swiper-thumbs", {
                        watchSlidesProgress: true,
                        breakpoints: {
                            320: {
                                direction: 'horizontal',
                                slidesPerView: 4,
                                spaceBetween: 10,
                            },
                            992: {
                                direction: 'vertical',
                                slidesPerView: 4,
                                spaceBetween: 10,
                            }
                        }
                    });

                    var swiperMain = new Swiper("#swiper-main", {
                        spaceBetween: 0,
                        navigation: {
                            nextEl: ".swiper-main-next",
                            prevEl: ".swiper-main-prev",
                        },
                        thumbs: {
                            swiper: swiperThumbs,
                        },
                    });
                </script>
            </div>
            <div class="product_dr_tright right-mt25 flex1">
                <div class="product_dr_tr_tit _web-fs18">{$product.title}</div>
                <div class="product_dr_tr_desc mt10 _web-fs14">
                    <p>{$product.introduce}</p>
                </div>
                <a class="consult-btn" href="/index/index/contact">
                    <img src="/index_static/img/consult.png" alt="">
                    <div style="padding: 0 10px;height: 28px;">咨询</div>
                </a>
            </div>
        </div>
        <div class="pro-dbott">
            <div class="product_dr_btit _web-fs18">
                <div class="rel-span">
                    <span class="rel">产品详情</span>
                </div>
            </div>
            <div class="product_db_show  _web-pd25">{$product.info|raw}</div>


        </div>
        {if $next_page}
        <div class="pre-next-box flex-row fs16 hover-a _web-pd25">
            <div class="pre-next ellipsis">
                <a href="/index/index/product_details?id={$next_page}">Next<i class="iconfont icon-arrowright2"></i></a>
            </div>
        </div>
        {/if}
    </div>
</div>


{include file="footer" /}
</body>
</html>
